# -*- coding: utf-8 -*-
from pymongo import MongoClient
from selenium import webdriver
from time import sleep
import redis
class into_Redis_url(object):

    def __init__(self,hosts='loaclhost',ports=6379,passw='123456'):
        self.clint_rids_host=hosts
        self.clint_redis_port=int(ports)
        self.clint_redis_password=passw
        self.clint_redis_count = redis.Redis(host=self.clint_rids_host, port=self.clint_redis_port, password=self.clint_redis_password,encoding='utf-8')


    def _insert_redis_url(self):
        pass

    def __del__(self):
        self.clint_redis_count.close()

